package com.sc.justification.system.panel;

import javax.swing.JPanel;
import javax.swing.SpringLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class InstitutionSetupPanel extends JPanel {
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public InstitutionSetupPanel() {
		SpringLayout springLayout = new SpringLayout();
		setLayout(springLayout);
		
		JLabel lblNewLabel = new JLabel("\u673A\u6784\u540D\u79F0");
		springLayout.putConstraint(SpringLayout.NORTH, lblNewLabel, 22, SpringLayout.NORTH, this);
		springLayout.putConstraint(SpringLayout.WEST, lblNewLabel, 26, SpringLayout.WEST, this);
		add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("\u4E2D\u56FD\u534E\u5357\u53F8\u6CD5\u9274\u5B9A\u4E2D\u5FC3");
		springLayout.putConstraint(SpringLayout.NORTH, lblNewLabel_1, 22, SpringLayout.NORTH, this);
		springLayout.putConstraint(SpringLayout.WEST, lblNewLabel_1, 6, SpringLayout.EAST, lblNewLabel);
		springLayout.putConstraint(SpringLayout.EAST, lblNewLabel_1, 119, SpringLayout.EAST, lblNewLabel);
		add(lblNewLabel_1);
		
		JLabel lblNewLabel_2 = new JLabel("New label");
		springLayout.putConstraint(SpringLayout.NORTH, lblNewLabel_2, 0, SpringLayout.NORTH, lblNewLabel);
		springLayout.putConstraint(SpringLayout.WEST, lblNewLabel_2, 38, SpringLayout.EAST, lblNewLabel_1);
		add(lblNewLabel_2);
		
		textField = new JTextField();
		springLayout.putConstraint(SpringLayout.WEST, textField, 17, SpringLayout.EAST, lblNewLabel_2);
		springLayout.putConstraint(SpringLayout.SOUTH, textField, 0, SpringLayout.SOUTH, lblNewLabel);
		add(textField);
		textField.setColumns(10);

	}
}
